package com.ruoyi.Planting.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 轮播图表 xyb_planting
 * 
 * @author ruoyi
 * @date 2019-08-06
 */
public class Planting extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer id;
	/** 排序 */
	private Integer line;
	/**  */
	private String title;
	/** 图片地址 */
	private String imageUrl;
	/** 状态（1启用 2隐藏） */
	private Integer state;
	/** 链接 */
	private String url;
	/**  */
	private Integer goodId;
	/**  */
	private Integer valid;
	/**  */
	private String createDate;
	/**  */
	private String updateDate;
	/**  */
	private Integer schoolId;
	
	private Integer type;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setLine(Integer line) 
	{
		this.line = line;
	}

	public Integer getLine() 
	{
		return line;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setImageUrl(String imageUrl) 
	{
		this.imageUrl = imageUrl;
	}

	public String getImageUrl() 
	{
		return imageUrl;
	}
	public void setState(Integer state) 
	{
		this.state = state;
	}

	public Integer getState() 
	{
		return state;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}

	public String getUrl() 
	{
		return url;
	}
	public void setGoodId(Integer goodId) 
	{
		this.goodId = goodId;
	}

	public Integer getGoodId() 
	{
		return goodId;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreateDate(String createDate) 
	{
		this.createDate = createDate;
	}

	public String getCreateDate() 
	{
		return createDate;
	}
	public void setUpdateDate(String updateDate) 
	{
		this.updateDate = updateDate;
	}

	public String getUpdateDate() 
	{
		return updateDate;
	}
	public void setSchoolId(Integer schoolId) 
	{
		this.schoolId = schoolId;
	}

	public Integer getSchoolId() 
	{
		return schoolId;
	}
		

    public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("line", getLine())
            .append("title", getTitle())
            .append("imageUrl", getImageUrl())
            .append("state", getState())
            .append("url", getUrl())
            .append("goodId", getGoodId())
            .append("valid", getValid())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("schoolId", getSchoolId())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("type", getType())
            .toString();
    }
}
